"""Constants for the travel application."""

MAX_LENGTH_NAME = 150
"""The maximum length of the name."""

MAX_LENGTH_URL = 300
"""The maximum length of the url."""

EXPECTED_EXPECTANCY_ORDERED = 1.0
"""The expectancy expected when the user ordered the tour"""

SUCCESS_LIMIT = 0.5
"""The limit above which the pair is considered successful."""

USERS_IDS_ORDER = set((
    59,
    529,
    964,
    1085,
    1199,
    1362,
    1477,
    2206,
    2248,
    2784,
    2793,
    2924,
    3485,
    3887,
    3890,
    4203,
    5881,
    5954,
    6255,
    6324,
    6934,
    8394,
    9066,
    9527,
    11575,
    15779,
    16789,
    17056,
    17256,
    19162,
    19464,
    19643,
    21428,
    21847,
    21931,
    22205,
    22490,
    23093,
    23721,
    23822,
    24384,
    24872,
    26901,
    26956,
    26985,
    27591,
    28893,
    28948,
    29838,
    30173,
    30336,
    30422,
    30517,
    30609,
    31762,
    34631,
    35053,
    35104,
    35518,
    35653,
    36011,
    36708,
    36865,
    38570,
    39187,
    40327,
    40406,
    40545,
    40855,
    41507,
    43263,
    43667,
    45435,
    45568,
    47255,
    47505,
    47996,
    48562,
    49240,
    49722,
    49769,
    54339,
    54632,
    54954,
    55219,
    56889,
    56934,
    57102,
    61836,
    61969,
    64495,
    64547,
    65193,
    65555,
    65717,
    68284,
    68352,
    71002,
    71021,
    73047,
    73134,
    73416,
    75120,
    75779,
    77000,
    77190,
    79954,
    80326,
    80438,
    80517,
    80525,
    80934,
    80947,
    81705,
    82581,
    86695,
    87513,
    87626,
    87751,
    87902,
    87981,
    88227,
    88236,
    88265,
    90814,
    90922,
    91085,
    91234,
    91246,
    94924,
    95268,
    95778,
    96106,
    98306,
    99135,
    100041,
    100120,
    100523,
    100585,
    103552,
    103858,
    104129,
    104308,
    104591,
    105644,
    106223,
    106954,
    107710,
    107997,
    111427,
    111887,
    112275,
    112459,
    112571,
    112701,
    112768,
    113806,
    114297,
    114733,
    115319,
    115596,
    116308,
    116364,
    123864,
    124173,
    124232,
    125673,
    128958,
    131573,
    131583,
    132139,
    133350,
    133617,
    133944,
    134559,
    134589,
    134704,
    137382,
    140357,
    140596,
    140780,
    140909,
    141167,
    141806,
    142545,
    145369,
    145804,
    146028,
    146355,
    147007,
    147066,
    147162,
    147319,
))
"""Ids of users that ordered something"""
